﻿import request from '/@/utils/request';
enum Api {
  AddBig_Screen = '/api/big_Screen/add',
  DeleteBig_Screen = '/api/big_Screen/delete',
  UpdateBig_Screen = '/api/big_Screen/update',
  SaveBig_Screen = '/api/big_Screen/save',
  PageBig_Screen = '/api/big_Screen/page',
  ExportBig_Screen = 'api/big_Screen/export',
}

//导出大屏配置
export const exportBig_ScreenExcel=(params?:any)=>
	request({
		url:Api.ExportBig_Screen,
		method:'post',
		data:params,
		responseType: 'blob'
	});

// 增加大屏配置
export const addBig_Screen = (params?: any) =>
	request({
		url: Api.AddBig_Screen,
		method: 'post',
		data: params,
	});

// 删除大屏配置
export const deleteBig_Screen = (params?: any) => 
	request({
			url: Api.DeleteBig_Screen,
			method: 'post',
			data: params,
		});

// 编辑大屏配置
export const updateBig_Screen = (params?: any) => 
	request({
			url: Api.UpdateBig_Screen,
			method: 'post',
			data: params,
		});

// 保存大屏配置
export const saveBig_Screen = (params?: any) => 
	request({
			url: Api.SaveBig_Screen,
			method: 'post',
			data: params,
		});

// 分页查询大屏配置
export const pageBig_Screen = (params?: any) => 
	request({
			url: Api.PageBig_Screen,
			method: 'post',
			data: params,
		});


